﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Branch
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IBranch_Service" in both code and config file together.
    [ServiceContract]
    public interface IBranch_Service
    {
        [OperationContract]
        List<LG_Branch> GetAllBranches();

        [OperationContract]
        ReturnBool InstallNewBranch(LG_Branch new_branch);

        [OperationContract]
        ReturnBool CustomizeInfoBranch(int branch_id, LG_Branch updated);

        [OperationContract]
        ReturnBool RemoveBranch(int branch_id);
    }
}
